import { createApp } from 'vue';
import App from './App.vue';

import router from './router';
import pinia from './store';

import '@/styles/reset.scss';
import 'nprogress/nprogress.css';

console.log(
  `%c 当前项目:${process.env.PROJECT_NAME || import.meta.env.VITE_PROJECT_NAME} %c`,
  'background-image: linear-gradient( -135deg, #CE9FFC 5%, #7367F0 100%); padding: 4px 0; border-radius: 3px; line-height:1; color:#fff',
  'background:transparent'
);

const app = createApp(App);

app.use(pinia);
app.use(router);
router.isReady().then(() => app.mount('#app'));
